<script setup>
import {ref} from 'vue'
let footerList = ref([
  {id:1,name:'首页',path:'/index'},
  {id:2,name:'发现',path:'/release'},
  {id:3,name:'通知',path:'/notice'},
  {id:4,name:'我的',path:'/my'},
])
</script>

<template>
  <div>
    <div class="footer">
      <div class="footer-list">
        <div v-for="item in footerList" :key="item.id">
          <router-link :to="item.path">
            <span>{{item.name}}</span>
          </router-link>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped>
</style>